package com.ruoyi.dataSys.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 船舶信息管理对象 ships_data
 *
 * @author ruoyi
 * @date 2024-11-28
 */
public class ShipsData implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 船舶ID */
    @Excel(name = "船舶ID")
    private String shipId;

    /** 船舶注册号 */
    @Excel(name = "船舶注册号")
    private String shipRegNo;

    /** 初次注册号 */
    @Excel(name = "初次注册号")
    private String shipFirstRegNo;

    /** 检验号 */
    @Excel(name = "检验号")
    private String shipInspectNo;

    /** 船名 */
    private String shipNameCn;

    /** MMSI号 */
    @Excel(name = "MMSI号")
    private String MMSI;

    /** 注册港口代码 */
    @Excel(name = "注册港口代码")
    private String regportCode;

    /** 区域类型 */
    @Excel(name = "区域类型")
    private String shipRegionType;

    /** 类型代码 */
    @Excel(name = "类型代码")
    private String shipTypeCode;

    /** 总吨位 */
    @Excel(name = "总吨位")
    private String shipGrossTon;

    /** 净吨位 */
    @Excel(name = "净吨位")
    private String shipNetTon;

    /** 载重吨 */
    @Excel(name = "载重吨")
    private String shipDwt;

    /** 长度 */
    @Excel(name = "长度")
    private String shipLength;

    /** 宽度 */
    @Excel(name = "宽度")
    private String shipBreadth;

    /** 深度 */
    @Excel(name = "深度")
    private String shipDepth;

    /** 航线代码 */
    @Excel(name = "航线代码")
    private String lineCode;

    /** 区域代码 */
    @Excel(name = "区域代码")
    private String areaCode;

    /** 建造日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "建造日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date constructionDate;

    public void setShipId(String shipId)
    {
        this.shipId = shipId;
    }

    public String getShipId()
    {
        return shipId;
    }
    public void setShipRegNo(String shipRegNo)
    {
        this.shipRegNo = shipRegNo;
    }

    public String getShipRegNo()
    {
        return shipRegNo;
    }
    public void setShipFirstRegNo(String shipFirstRegNo)
    {
        this.shipFirstRegNo = shipFirstRegNo;
    }

    public String getShipFirstRegNo()
    {
        return shipFirstRegNo;
    }
    public void setShipInspectNo(String shipInspectNo)
    {
        this.shipInspectNo = shipInspectNo;
    }

    public String getShipInspectNo()
    {
        return shipInspectNo;
    }
    public void setShipNameCn(String shipNameCn)
    {
        this.shipNameCn = shipNameCn;
    }

    public String getShipNameCn()
    {
        return shipNameCn;
    }
    public void setMMSI(String MMSI)
    {
        this.MMSI = MMSI;
    }

    public String getMMSI()
    {
        return MMSI;
    }
    public void setRegportCode(String regportCode)
    {
        this.regportCode = regportCode;
    }

    public String getRegportCode()
    {
        return regportCode;
    }
    public void setShipRegionType(String shipRegionType)
    {
        this.shipRegionType = shipRegionType;
    }

    public String getShipRegionType()
    {
        return shipRegionType;
    }
    public void setShipTypeCode(String shipTypeCode)
    {
        this.shipTypeCode = shipTypeCode;
    }

    public String getShipTypeCode()
    {
        return shipTypeCode;
    }
    public void setShipGrossTon(String shipGrossTon)
    {
        this.shipGrossTon = shipGrossTon;
    }

    public String getShipGrossTon()
    {
        return shipGrossTon;
    }
    public void setShipNetTon(String shipNetTon)
    {
        this.shipNetTon = shipNetTon;
    }

    public String getShipNetTon()
    {
        return shipNetTon;
    }
    public void setShipDwt(String shipDwt)
    {
        this.shipDwt = shipDwt;
    }

    public String getShipDwt()
    {
        return shipDwt;
    }
    public void setShipLength(String shipLength)
    {
        this.shipLength = shipLength;
    }

    public String getShipLength()
    {
        return shipLength;
    }
    public void setShipBreadth(String shipBreadth)
    {
        this.shipBreadth = shipBreadth;
    }

    public String getShipBreadth()
    {
        return shipBreadth;
    }
    public void setShipDepth(String shipDepth)
    {
        this.shipDepth = shipDepth;
    }

    public String getShipDepth()
    {
        return shipDepth;
    }
    public void setLineCode(String lineCode)
    {
        this.lineCode = lineCode;
    }

    public String getLineCode()
    {
        return lineCode;
    }
    public void setAreaCode(String areaCode)
    {
        this.areaCode = areaCode;
    }

    public String getAreaCode()
    {
        return areaCode;
    }
    public void setConstructionDate(Date constructionDate)
    {
        this.constructionDate = constructionDate;
    }

    public Date getConstructionDate()
    {
        return constructionDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shipId", getShipId())
            .append("shipRegNo", getShipRegNo())
            .append("shipFirstRegNo", getShipFirstRegNo())
            .append("shipInspectNo", getShipInspectNo())
            .append("shipNameCn", getShipNameCn())
            .append("MMSI", getMMSI())
            .append("regportCode", getRegportCode())
            .append("shipRegionType", getShipRegionType())
            .append("shipTypeCode", getShipTypeCode())
            .append("shipGrossTon", getShipGrossTon())
            .append("shipNetTon", getShipNetTon())
            .append("shipDwt", getShipDwt())
            .append("shipLength", getShipLength())
            .append("shipBreadth", getShipBreadth())
            .append("shipDepth", getShipDepth())
            .append("lineCode", getLineCode())
            .append("areaCode", getAreaCode())
            .append("constructionDate", getConstructionDate())
            .toString();
    }
}
